package com.fowo.api.model.tmp.jm.order.children;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.*;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/**
 * 独立站订单子表临时表 预览导入辅助模型(全字段为文本类型)
 * @author yl_ls
 */
@Getter
@Setter
public class TmpJmOrderChildrenImportPo {

  /** 规格id */
  @ExcelProperty("规格id")
  @LongString(message = "规格id数值格式不正确", label = "规格id")
  private String specificationsId;

  /** 规格信息 */
  @ExcelProperty("规格信息")
  @Size(max = 500, message = "规格信息长度不能超过500")
  private String specInfo;

  /** 方案id */
  @ExcelProperty("方案id")
  @LongString(message = "方案id数值格式不正确", label = "方案id")
  private String schemeId;

  /** 数量 */
  @ExcelProperty("数量")
  @IntegerString(message = "数量数值格式不正确", label = "数量")
  private String quantity;

  /** 保护计划id */
  @ExcelProperty("保护计划id")
  @LongString(message = "保护计划id数值格式不正确", label = "保护计划id")
  private String protectionId;

  /** 单价 */
  @ExcelProperty("单价")
  @DecimalString(message = "单价小数格式不正确", label = "单价")
  private String price;

  /** 支付金额 */
  @ExcelProperty("支付金额")
  @DecimalString(message = "支付金额小数格式不正确", label = "支付金额")
  private String paymentPrice;

  /** 原价 */
  @ExcelProperty("原价")
  @DecimalString(message = "原价小数格式不正确", label = "原价")
  private String originPrice;

  /** 订单id */
  @ExcelProperty("订单id")
  @LongString(message = "订单id数值格式不正确", label = "订单id")
  private String orderId;

  /** 名称 */
  @ExcelProperty("名称")
  @Size(max = 50, message = "名称长度不能超过50")
  private String name;

  /** 物流单号 */
  @ExcelProperty("物流单号")
  @Size(max = 50, message = "物流单号长度不能超过50")
  private String logisticsNo;

  /** 物流id */
  @ExcelProperty("物流id")
  @LongString(message = "物流id数值格式不正确", label = "物流id")
  private String logisticsId;

  /** 物流公司 */
  @ExcelProperty("物流公司")
  @LongString(message = "物流公司数值格式不正确", label = "物流公司")
  private String logisticsCompany;

  /** 留言 */
  @ExcelProperty("留言")
  @Size(max = 100, message = "留言长度不能超过100")
  private String leaveMessage;

  /** 副戒id */
  @ExcelProperty("副戒id")
  @LongString(message = "副戒id数值格式不正确", label = "副戒id")
  private String accessoryRingId;

  /** 是否刻字 */
  @ExcelProperty("是否刻字")
  @Size(max = 20, message = "是否刻字长度不能超过20")
  private String isFont;

  /** 免费信息 */
  @ExcelProperty("免费信息")
  @Size(max = 50, message = "免费信息长度不能超过50")
  private String infoText;

  /** 雕刻文字 */
  @ExcelProperty("雕刻文字")
  @Size(max = 50, message = "雕刻文字长度不能超过50")
  private String graveFont;

  /** 商品id */
  @ExcelProperty("商品id")
  @LongString(message = "商品id数值格式不正确", label = "商品id")
  private String goodsId;

  /** 商品sku */
  @ExcelProperty("商品sku")
  @Size(max = 200, message = "商品sku长度不能超过200")
  private String goodsCode;

  /** 礼品包装id */
  @ExcelProperty("礼品包装id")
  @LongString(message = "礼品包装id数值格式不正确", label = "礼品包装id")
  private String giftId;

  /** 字体id */
  @ExcelProperty("字体id")
  @LongString(message = "字体id数值格式不正确", label = "字体id")
  private String fontId;

  /** 描述 */
  @ExcelProperty("描述")
  private String description;

  /** 币种 */
  @ExcelProperty("币种")
  @LongString(message = "币种数值格式不正确", label = "币种")
  private String currencyExchangeRateId;
}
